package com.example.haohao.myview;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.text.TextUtils;
import android.widget.TextView;

import com.example.utils.ToastUtil;
import com.wowo.kjt.library.BeautyProgressBar;

public class ProgressBarActivity extends AppCompatActivity {

    private BeautyProgressBar beautyProgressBar;
    private TextView tv_progress;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_progress_bar);
        beautyProgressBar = (BeautyProgressBar) findViewById(R.id.beautyProgressBar);
        beautyProgressBar.setProgress((int) 20.0);
        ToastUtil.showToast("hello");
//      black修改了progressbarActivity
//        black二次提交

        tv_progress = (TextView) findViewById(R.id.tv_progressbar);
        ToastUtil.showToast(tv_progress.getText().toString());

    }
}